import React, {PureComponent} from 'react'
import { Carousel } from 'antd';
import 'antd/dist/antd.css';
import { TurnImg } from '../style.js'
import { Link } from 'react-router-dom'
class ImgList extends PureComponent{
    render(){
        return(
            <div>
              <TurnImg>
                <Carousel autoplay >
                 <Link to= '/turnimg'>
                   <div><img src="//upload.jianshu.io/admin_banners/web_images/4486/41d9173c44ce6eded75da5f82da659973ddaad41.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/1250/h/540" alt='540'/></div>
                 </Link>
                 <Link to= '/turnimg'>
                  <div><img src="//upload.jianshu.io/admin_banners/web_images/4494/9d9f6188aff3634c9fb99ec0f68299d509faae48.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/1250/h/540" alt='540'/></div>
                 </Link>
                 <Link to= '/turnimg'>
                  <div><img src="//upload.jianshu.io/admin_banners/web_images/4448/d9a0fd8f0622d2323161b68d2123c7f28837d28f.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/1250/h/540" alt='540'/></div>
                 </Link>
                 <Link to= '/turnimg'>
                  <div><img src="//upload.jianshu.io/admin_banners/web_images/4497/88df0c641acd01f4c89e9faae1413a911792d01f.png?imageMogr2/auto-orient/strip|imageView2/1/w/1250/h/540" alt='540'/></div>
                 </Link>
                
                
                
                
                </Carousel>
              </TurnImg>
            </div>
        )
    }
}
export default ImgList;